#!/usr/bin/env python3

from searxqt.main import MainWindow

from PyQt5.QtWidgets import (
    QApplication)

import sys
import signal  # ctrl+c keyboard interrupt

if __name__ == '__main__':
    app = QApplication(sys.argv)
    window = MainWindow()

    def closeWindow(sig, frame):
        window.close()

    signal.signal(signal.SIGINT, closeWindow)  # CTRL + C

    window.show()

    sys.exit(app.exec_())
